﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;


//[CreateAssetMenu(menuName ="CreateManagerVarsContainer")]
public class ManagerVars : ScriptableObject
{
    private ManagerVars()
    {

    }

    private static ManagerVars instance = null;

    public static ManagerVars Instance
    {
        get
        {
            if (instance == null)
            {
                instance = Resources.Load<ManagerVars>("ManagerVarsContainer"); 
            }
            return instance;
        }
    }

    public List<Sprite> bgThemeSpriteList = new List<Sprite>();
    public List<Sprite> PlatformThemeList = new List<Sprite>();

    public float nextXPos = 0.554f;
    public float nextYPos = 0.645f;

    public GameObject characterPre;
    public GameObject normalPlatformPre;
    public List<GameObject> commonPlatformGroup = new List<GameObject>();
    public List<GameObject> grassPlatformGroup = new List<GameObject>();
    public List<GameObject> winterPlatformGroup = new List<GameObject>();
    public GameObject spikerPlatformLeft;
    public GameObject spikerPlatformRight;
    public GameObject deathEffect;
    public GameObject diamond;
}
